package com.hzdl.flower.util;

import lombok.*;

@NoArgsConstructor
@ToString
@Getter
@Setter
public class HzdlJsonAjax {
    private String msg;
    private Long count;
    private Integer code;
    private Object data;

    public HzdlJsonAjax(String msg, Integer code, Object data) {
        this.msg = msg;
        this.code = code;
        this.data = data;
    }

    public HzdlJsonAjax(String msg, Object data) {
        this.msg = msg;
        this.data = data;
    }

    public HzdlJsonAjax(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    public HzdlJsonAjax(String msg, Long count, Integer code, Object data) {
        this.msg = msg;
        this.count = count;
        this.code = code;
        this.data = data;
    }


}
